<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<!-- start right content -->
<div class="right_content">
	<div class="languages_box">
		<span class="red">Languages:</span> <a href="#"><img
			src="${path}/images/gb.gif" alt="" title="" border="0" /></a> <a href="#"><img
			src="${path}/images/fr.gif" alt="" title="" border="0" /></a> <a href="#"><img
			src="${path}/images/de.gif" alt="" title="" border="0" /></a>
	</div>
	<div class="currency">
		<span class="red">Currency: </span> <a href="#">GBP</a> <a href="#">EUR</a>
		<a href="#"><strong>USD</strong></a>
	</div>

	<div class="cart">
		<div class="title">
			<span class="title_icon"><img src="${path}/images/cart.gif" alt=""
				title="" /></span>我的购物车
		</div>
		<!-- 判断当前购物车中是否有物品 -->
		<c:choose>
			<c:when test="${not empty shoppingCart}">
				<div class="home_cart_content" >
					<span id="itemCount">${shoppingCart.count}</span>个商品 | <span class="red" >总计: <span id="allPrice">${shoppingCart.total}</span>元</span>
				</div>
				<div><a href="${path}/cart/showcart" class="view_cart">查看购物车</a></div>
			</c:when>
			<c:otherwise>
				<div class="home_cart_content">暂无商品，赶快去<a href="${path}/book/index"> 抢购 </a>吧!</div>
			</c:otherwise>
		</c:choose>		
	</div>

	<div class="title">
		<span class="title_icon"><img src="${path}/images/bullet3.gif" alt=""
			title="" /></span>关于我们店
	</div>
	<div class="about">
		<p>
			<img src="${path}/images/about.gif" alt="" title="" class="right" />
			本书店是天创集团旗下的天智教育经营的书店，开业十年来，一直与国内外五百家出版社，近千家发行单位保持着良好的合作关系。以其集文化传播、艺术鉴赏、休闲为一体的崭新经营方式、一流的购书环境及优质的服务，赢得了众多的荣誉，成为华东地区最大的集图书、音像制品、文化用品、快餐、软件开发、广告策划于一体的图书零售企业。
		</p>

	</div>

	<div class="right_box">

		<div class="title">
			<span class="title_icon"><img src="${path}/images/bullet4.gif" alt=""
				title="" /></span>图书推荐
		</div>
		<!-- 迭代出推荐的图书 -->
		<c:forEach var="book" items="${tuijianBook.datas }">
		<div class="new_prod_box">
			<a href="${path}/book/detail?id=${book.id}">${book.bookName}</a>
			<div class="new_prod_bg">
				<span class="new_icon">
				<img src="${path}/images/promo_icon.gif"
					alt="" title="" /></span>
				<a href="${path}/book/detail?id=${book.id}"><img style="width:80px;height:100px"
					src="${path}/images/book_img/${book.imgUrl}" alt="" title="" class="thumb" border="0" /></a>
			</div>
		</div>
		</c:forEach>

	</div>

	<div class="right_box">

		<div class="title">
			<span class="title_icon"><img src="${path}/images/bullet5.gif" alt=""
				title="" /></span>图书分类
		</div>
		<ul class="list">
			<c:forEach var="cate" items="${applicationScope.ALL_CATE}">
                <li><a href="${path}/book/category?cate=${cate.name}">${cate.name}</a></li>
            </c:forEach>
		</ul>

		<div class="title">
			<span class="title_icon"><img src="${path}/images/bullet6.gif" alt=""
				title="" /></span>合作伙伴
		</div>

		<ul class="list">
			 <li><a href="#">新电科技(苏州)</a></li>
             <li><a href="#">方正科技(苏州)</a></li>
             <li><a href="#">新宇技术</a></li>
             <li><a href="#">宇信易诚</a></li>
             <li><a href="#">同程网络科技</a></li>
             <li><a href="#">华为技术服务有限公司</a></li>
		</ul>

	</div>
</div>
<!--end of right content-->